package fluxx.draft;

import java.awt.Color;

public class Keeper extends Card {
	public Keeper(String name) {
		super(name, null);
	}
	public Keeper(String name, String description) {
		super(name, description);
	}

	@Override
	public Color getColor() {
		return Color.GREEN;
	}
	
	@Override
	public void bePlayed(GameState game, Player player) throws GameOverException {
		player.addKeeper(this);
		game.checkGoalSatisfied();
	}
}
